package cn.itcast.service.system;

import cn.itcast.domain.system.Dept;
import com.github.pagehelper.PageInfo;

import java.util.List;


public interface DeptService {

    //分页查询部门
    PageInfo<Dept>findByPage(String companyId,int pageNum,int pageSize);


    List<Dept> findDeptList(String companyId);

    void save(Dept dept);

    void update(Dept dept);


    Dept findById(String id);

    boolean delete(String id);
}
